'use strict';
const path = require('path');

module.exports = app => {

  const config = exports = {

    static: {
      maxAge: 0,
    },

    development: {
      watchDirs: ['build'],
      ignoreDirs: ['app/web', 'public', 'config'],
    },

    security: {
      csrf: false,
    },

    logview: {
      dir: path.join(app.baseDir, 'logs'),
    },
  };

  return config;
};
